# coding: utf-8
from flask_sqlalchemy import SQLAlchemy


db = SQLAlchemy()



class AdminInfo(db.Model):
    __tablename__ = 'adminInfo'

    AutoID = db.Column(db.BigInteger, primary_key=True, info='主键')
    adminID = db.Column(db.BigInteger, nullable=False, info='后台管理员用户编号')
    adminAccount = db.Column(db.String(255), info='管理员账户')
    adminPasswd = db.Column(db.String(255), info='管理员密码')
    isDelete = db.Column(db.Integer, server_default=db.FetchedValue())
    createTime = db.Column(db.DateTime, server_default=db.FetchedValue())
